package com.lzl.lazy;


/**
 * 懒汉式 单例
 * 线程不安全
 */
public class LazySimpleSingleton {

    private static LazySimpleSingleton INSTANCE;

    private LazySimpleSingleton(){}

    public static LazySimpleSingleton getInstance(){
        if(null == INSTANCE){
            INSTANCE = new LazySimpleSingleton();
        }
        return INSTANCE;
    }
}
